const demo2 = {
    path: '/demo2Module',
    name: 'demo2Module',
    component: () => import('views/demo2/index.vue'),
    redirect: '/demo2Module/demo2aModule',
    meta: { title: 'demo2模块' },
    // beforeEnter: (to, from, next) => {
    // },
    children: [
        // demo2a模块
        {
            path: '/demo2Module/demo2aModule',
            name: 'demo2aModule',
            component: () => import('views/demo2/demo2a/index.vue'),
            meta: { title: 'demo2a模块' },
        },
        // demo2b模块
        {
            path: '/demo2Module/demo2bModule',
            name: 'demo2bModule',
            component: () => import('views/demo2/demo2b/index.vue'),
            meta: { title: 'demo2b模块' },
        },
    ],
};

export default demo2;
